

beginobjectscript; // talking object

variables;

body;

beginstate INIT_STATE;
	break;

beginstate DEAD_STATE;
	break;
	
beginstate START_STATE; 
	if (gf(3,29) == 0) {
		if (get_ran(1,0,100) < 10) 
			create_text_bubble("Bubble!");
		if (get_ran(1,0,100) < 10) 
			create_text_bubble("Hiss!");
		if (get_ran(1,0,100) < 16) 
			run_sparkles_on_object(ME,2,4,1);
		}
		
		
	break;

beginstate USE_STATE;
	if (gf(3,29) == 0) {
		sf(3,29,1);
		begin_talk_mode(12);
		}
	if (gf(3,29) == 1)
		print_str_color("You can't get close to the cauldron. It's too hot and the smoke is too heavy.",2);


break;
